#ifndef _OCCIHANDLER_HPP
#define _OCCIHANDLER_HPP

#include "datacollection.hpp"
#include "occipool.hpp"
#include "result.hpp"
#include "iservice.hpp"
#include "profile.hpp"

namespace com_oocl_riley {
	class OcciHandler:public IService<Profile,Result>  {
	public:
		explicit OcciHandler(OcciPool &);
		~OcciHandler();
		Result *perform(Profile *);
	private:
		OcciPool &_pool;
		Connection *_con;
	};
}


#endif